package cn.zqy.demo.day07;

import java.util.Scanner;

public class Demo02ScannerAdd {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入a的值：");
        int a = sc.nextInt();
        System.out.println("输入b的值：");
        int b = sc.nextInt();
        System.out.println(a  + "+" + b + "=" +(a+b));
    }
}
